package com.design_patterns.proxy.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


/**
 * @author: 李德才
 * @description:
 * @create: 2020-08-30 20:18
 **/
public class Main {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("application.xml");
        Brush brush = (Brush)context.getBean("Brush");
        brush.drawing();
    }
}




